package com.lupus.business.inspector;

import java.util.Map;
import javax.servlet.http.*;
import com.lupus.business.Inspectable;
import com.lupus.common.ResourceFactory;
import com.lupus.common.VariableFactory;

public final class LocalStringInspector implements Inspectable {
	public boolean preInspect(Map<String, Object> requestMap,Map<String, Object> responseMap, HttpServletRequest request,HttpServletResponse response) {
		responseMap.put("titleValues",ResourceFactory.getLocalUIStringMap(request.getLocale().getLanguage()));
		responseMap.put("returnFlag",VariableFactory.SUCCEED);
		return false;
	}
	
	public boolean sufInspect(Map<String, Object> requestMap,Map<String, Object> responseMap, HttpServletRequest request,HttpServletResponse response) {
		return false;
	}
}
